home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
tests
/
hello.uil
< prev
next >
Wrap
Text File
|
1995-06-29
|
784b
|
48 lines
module hello_uil
object hello_main : XmForm {
controls {
XmLabel world;
XmPushButton hello;
XmList alist;
};
};
procedure tcl(string);
object world : XmLabel {
arguments {
XmNlabelString = "hello";
XmNleftAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
};
};
object hello : XmPushButton {
arguments {
XmNlabelString = "world";
XmNwidth = 20;
XmNheight = 20;
XmNleftAttachment = XmATTACH_WIDGET;
XmNleftWidget = world;
XmNtopAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
};
callbacks{
XmNarmCallback = procedure tcl("set uil_test 0");
};
};
object alist : XmList {
};
end module;